package com.adcc.loadsheet.billing.mapper.mysql;

import com.adcc.loadsheet.billing.entity.ScAirlinesEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 航司Mapper
 * Created by zhaoml on 2020-04-14.
 */
@Mapper
public interface ScAirlinesEntityMapper {

    //根据条件获取航司
    List<ScAirlinesEntity> select(Map<String, Object> map);

    //根据主键ID查询
    ScAirlinesEntity selectByPrimaryKey(Integer id);

    //根据合同用户查询航司名称
    List<String> selectAirlineNamesByContractUserId(Integer contractUserId);

    //根据航司id查询航司名称
    List<String> selectAirlineNamesByIds(String ids);
}